import numpy as np

arr = np.arange(64).reshape(4, 4, 4)
arr1 = arr.transpose((2,0,1))
print(arr1)
